package ai.assist.common.vo.admin;

import ai.assist.common.businesss.mongo.entity.SysDept;
import ai.assist.common.businesss.mongo.entity.SysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author hui
 * @Date 2022/4/9 22:44
 **/
@Data
@ApiModel
public class SysUserListVO implements Serializable {

    @ApiModelProperty("用户id")
    private String id;

    @ApiModelProperty("账户名称")
    private String username;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("部门信息")
    private SysDept dept;

    @ApiModelProperty("角色列表")
    private List<SysRole> roles;

    @ApiModelProperty("真实名称")
    private String realName;

    @ApiModelProperty("市级系统账号")
    private String cityUsername;

    @ApiModelProperty("市级系统密码")
    private String cityPassword;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty(" 邮箱")
    private String email;

    @ApiModelProperty(" 账户状态(1.正常 2.锁定 )")
    private Integer status;

    @ApiModelProperty("性别(1.男 2.女)")
    private Integer sex;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("是否办理人员")
    private Boolean isBusiness;


    @ApiModelProperty("创建时间")
    private Date createTime;
}
